home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.arch.arithmetic,comp.lang.c,comp.lang.c++
- Subject: Re: Access carry flag from C
- Date: 21 Feb 1996 15:16:40 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Feb21081640@qcd.lanl.gov>
- References: <Dn1C9z.DGv.0.net@indra.com> <1996Feb1922.17.19.879@koobera.math.uic.edu>
- <31298D20.41C6@bazis.nl> <danpop.824859220@rscernix>
- <312AFACE.41C6@bazis.nl>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: Franz Korntner's message of Wed, 21 Feb 1996 10:58:22 GMT
-
- In article <312AFACE.41C6@bazis.nl> Franz Korntner <fkorntne@bazis.nl>
- writes:
- <snip>
- 32 bit numbers. According to the (X3J11 / ANSI) standard, the constant
- INT_MAX (and in this case most limits in limits.h) denotes the minimal
- limit. It is possible that the physical limit is much higher (or lower
- in the case of negative values). As I am only interested in the physical
- limit, the value INT_MAX has no meaning. Only the compiler is fully aware
- of these limits (and not a header file!) and what I really miss in the
- standard and/or implementation is a inline function 'maxlimitof(int)',
- analogical to 'sizeof(int)'.
-
- Please quote the standard. I find no discussion of this in my copy;
- and I suspect it is incorrect.
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-